package builder;

/**
 * @author gaopeng
 * @date 2019/12/8 2:12 下午
 */
public class Client {
    public static void main(String[] args) {
        Ditector ditector = new Ditector();
        int count = 10;
        System.out.println("benzA--------------");
        for (int i = 0; i < count; i++) {
            ditector.buildBenzA().run();
        }
        System.out.println("benzB--------------");
        for (int i = 0; i < count; i++) {
            ditector.buildBenzB().run();
        }
        System.out.println("bmwA--------------");
        for (int i = 0; i < count; i++) {
            ditector.buildBmwA().run();
        }
        System.out.println("bmwB--------------");
        for (int i = 0; i < count; i++) {
            ditector.buildBmwB().run();
        }

    }
}
